package org.dromara.visitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.visitor.domain.dto.BlacklistReq;
import org.dromara.visitor.domain.dto.BlacklistResp;
import org.dromara.visitor.domain.entity.Blacklist;

import java.util.List;

public interface BlacklistMapper extends BaseMapper<Blacklist> {
    List<BlacklistResp> listPage(Page page, @Param("req") BlacklistReq req);
}
